package com.mmd.admin.model.pojo.request;

import com.mmd.base.annotation.valid.group.ValidGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("基础设置参数编辑")
public class ParamEditParam {
    @ApiModelProperty("基础设置id")
    private Long id;

    @ApiModelProperty("值")
    @NotBlank(message = "值不能为空",groups = {ValidGroup.Update.class})
    private String value;
}
